package com.neuedu.service;

import java.util.List;
import java.util.Map;

import com.neuedu.model.Info;

public interface InfoService {
	
	public int countInfo(); 
	public List<Info> findAll(Map<String, Object> map);
	public int addInfo(Info i);
	public int deleteInfo(int id);
	
	//前台查询所有资讯
			public List<Info> findAllInfo();
			
			//前台查看资讯详情
			 public Info findInfoById(Info i);
	
}
